/*
 * bitmap.cpp
 *
 *  Created on: Aug 16, 2012
 *      Author: jh238d
 */

#include <iostream>
#include <bitset>
using namespace std;

int main(){
	bitset<100> s;
	s.set();
	s.set(50,0);
	s.set(51,0);
	cout<<s<<endl;
	cout<<s.size()<<endl;
	int j=0;
	for(int i=0; i<100;i++){
		if(s[i])
			j++;
	}
	cout << j << endl;

	return 0;
}


